package com.ychen.user.service.impl;

import com.ychen.commons.entity.user.UserEntity;
import com.ychen.user.mapper.UserMapper;
import com.ychen.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ Author     ：ChenYuliao
 * @ Date       ：Created in 23:36 2018/9/18 0018
 * @ Description：
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public UserEntity checkUserByUnique(String uniqueString) {

        return userMapper.checkUserByUnique(uniqueString);
    }
}
